<!--
 * @Author: Zcl84765
 * @Date: 2023-01-19 10:16:43
 * @LastEditors: Zcl84765
 * @LastEditTime: 2023-01-19 10:19:14
-->
<template>
  <div>
    {{ item.name }}的年龄-{{ item.obj4.age }}
    <span :class="item.st == '0' ? 'active' : item.st == 1 ? 'no' : 'hhh'">{{
      item.st
    }}</span>
  </div>
</template>
<script>
export default {
  props: {
    item: {
      type: Object,
      default: null
    }
  },
  data() {
    return {};
  },
  methods: {}
};
</script>
<style lang="less" scoped>
.active {
  color: pink;
}
.no {
  color: red;
}
.hhh {
  color: blue;
}
</style>
